home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Merciful 2
/
Merciful - Disc 2.iso
/
software
/
a
/
alliancedoc's03.dms
/
alliancedoc's03.adf
/
chap9_5.doc.pp
/
chap9_5.doc
Wrap
Text File
|
1992-02-22
|
2KB
|
51 lines
________________________________________________________________________
/ \
| ALLIANCE Presents : Amiga Graphics Inside and Out. |
| The complete Book from Abacus. |
| |
| Typed By : Razor Blade. |
| Supplied By : Viper. |
| |
| ALLIANCE ARE : Alchemist, Aramis, Barbarian, CI/\RS, Chaos, Glitch, Mit, |
| Raistlin, Razor Blade, ShadowFax and Viper. |
| |
\________________________________________________________________________/
/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\
> <
> CALL OUR WORLD HQ N-O-W : UNKNOWN PLEASURES : +44 823 322891 <
> <
\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//
9.5 THE MESSANGER: RasInfo.
===========================
The BitMap and the ViewPort are still isolated from each other. We can
connect them by using the RasInfo structure. This structure isnt
established with an initialise procedure. You must program this structure,
element by element, by writing the necessary values into it.
The actual connetion between the ViewPort and the bitmap to the RasInfo
structure is made as follows:
ViewPort.RasInfo = &RasInfo
RasInfo.BitMap = &BitMap
The bitmap pointer of the RasInfo stucture (Raster information) is the
only common element. The only remaining variables to be initialised are the
RxOffset and the RyOffset. These specify the pixel coordinates for the
upper left corner of the ViewPorts and are normally initialised to zero.
The last RasInfo variable, the RasInfo.Next pointer, is used only for
special display modes (see chapter 17) and is normally set to zero.
PAGE 322
-----------------------------------------------------------------------------